<!DOCTYPE html>
<html>
<head>
	<title>getsearch</title>
	<script src="https://cdn.bootcss.com/URI.js/1.18.5/URI.min.js"></script>
	<script src="jquery-3.0.0.min.js"></script>
	<script type="text/javascript">
		var uri=new URI(window.location);
		console.dir(uri.search(true));
//		alert(uri.search(true));
		var ticket = uri.search(true).ticket;
		alert(uri.search(true));
//		alert(uri.search(true).ticket);
//		alert(JSON.stringify(uri.search(true)));

        $(function(){
            alert("abc");
                $.ajax({
                    type: "GET",
                    url: "http://123.58.4.100:9999/message/ticket",
                    data: {ticket:ticket},
                    dataType: "json",
                    success: function(data){
                        alert(data);
                    }
                });
        });
	</script>
</head>
<body>

</body>
</html>